// 2. reducer/index.js中 合并reducer
import { combineReducers } from 'redux'
import todoReducer from './todu'
import userReducer from './user'

const rootReducer = combineReducers({
    todu: todoReducer,
    user: userReducer
})

export default rootReducer